package com.inspur.dgov.vlbod.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author chiyupei
 * @since 2023-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("demand_collect")
public class DemandCollect implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 点播ID
     */
    @TableField("demand_id")
    private String demandId;

    /**
     * 收藏人ID
     */
    @TableField("user_id")
    private String userId;

    /**
     * 收藏时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
